package com.woniu.service.impl;

import com.woniu.dao.MenuDao;
import com.woniu.domain.Menu;
import com.woniu.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl implements MenuService {
    @Autowired(required = false)
    MenuDao menuDao;
    @Override
    public List<Menu> menuQuery() {
        return menuDao.menuQuery();
    }
}
